Page({
    data:{
        mallOrderItemData:[ //商城订单数据项
            {
                iconName:"icon-daifukuan",
                text:"待付款"
            },
            {
                iconName:"icon-daifahuo",
                text:"待发货"
            },
            {
                iconName:"icon-nogoods",
                text:"待收货"
            },
            {
                iconName:"icon-daipingjia",
                text:"待评价"
            },
            {
                iconName:"icon-shouhou",
                text:"退款售后"
            }
        ]
    },
    // 点击去往购物车页面事件监听
    goCart(){
        wx.switchTab({
            url:"/pages/cart/index"
        });
    },
    // 点击去往个人信息页面事件监听
    switchToUserInfo(){
        wx.navigateTo({
            url:"/pages/userInfo/index"
        });
    },
    // 点击去往账户页面事件监听
    switchToSetup(){
        wx.navigateTo({
            url:"/pages/setup/index"
        });
    }
});